package dao;

import java.util.List;
import java.util.Map;

import bean.MonthStatistics;
import bean.MonthStatisticsListBean;
import model.Goods;
import model.Record;
import model.Shop;

public interface RecordDao {

	public boolean save(Record record);

	public List<Record> findAll();

	public Map<Shop, MonthStatisticsListBean> findAllByShopMonth();

	public List<MonthStatistics> findAllByMonth();

	public List<Goods> findHotSixGoods();

	public List<Record> find(String customer);

	public boolean removeByCustomer(String customer);

	public Map<Shop, Float> sumByShop();

}
